package com.ruoyi.ma.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.ruoyi.ma.domain.MaMaterialPlanDetails;
import com.ruoyi.ma.domain.MaMaterialSupplier;
import com.ruoyi.ma.domain.vo.MaMaterialPlanDetailsVo;
import com.ruoyi.common.core.mapper.BaseMapperPlus;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 材料计划详情Mapper接口
 *
 * @author llb
 * @date 2024-11-01
 */
public interface MaMaterialPlanDetailsMapper extends BaseMapperPlus<MaMaterialPlanDetailsMapper, MaMaterialPlanDetails, MaMaterialPlanDetailsVo> {

    List<MaMaterialPlanDetailsVo> getList(@Param(Constants.WRAPPER) Wrapper<MaMaterialPlanDetails> lqw);

    void removeHis(@Param("ids") List<Long> ids);

    List<MaMaterialPlanDetails> getProgressPlanDetails(@Param("progressId") Long progressId, @Param("gysId") Long gysId);
}
